package javaweb_work01.main.Test;

import javaweb_work01.main.Entity.Students;
import javaweb_work01.main.Service.AddService;

public class AddStudentsTest {

    public static void main(String[] args) {
        AddService addService = new AddService();
        int i = addService.addStudentsService(new Students(1001,"靓仔", "男", "1994-11-08", "40404@qq.com", "啦啦啦啦啦",1));
        if(i != 0){
            System.out.println("添加成功");
        }else{
            System.out.println("失败");
        }
    }
}
